package com.greenyoung.pwiki.elasticsearch.search;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class PwikiElasticsearchSearchApplication {
    public static Logger logger = LoggerFactory.getLogger(PwikiElasticsearchSearchApplication.class);

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(PwikiElasticsearchSearchApplication.class, args);

        logger.info(applicationContext.getEnvironment().getProperty("my-nacos-config-test"));
    }

}
